package PhaseoneModuletwo.TheThirdQuestion.code;

/**
 * 实体类的优化 将通话套餐类和上网套餐类中相同的特征和行为提取出来组成抽象套餐类。
 */
public abstract class Packages {

    private String monthMoney;

    public Packages() {
    }

    public Packages(String monthMoney) {
        this.monthMoney = monthMoney;
    }

    public String getMonthMoney() {
        return monthMoney;
    }

    public void setMonthMoney(String monthMoney) {
        this.monthMoney = monthMoney;
    }

    public abstract void show();
}
